package com.recharge.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品供应表
 * </p>
 *
 * @author Reagan
 * @since 2020-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("business_provider_goods")
public class ProviderGoodsEntity implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId("id")
    private String id;

    /**
     * 供应商ID
     */
    @TableField("provider_id")
    private String providerId;

    @TableField("goods_id")
    private String goodsId;

    /**
     * 商品编号
     */
    @TableField("goods_no")
    private Integer goodsNo;

    /**
     * 商品面额
     */
    @TableField("denomination")
    private Long denomination;

    /**
     * 成本价格
     */
    @TableField("cost_price")
    private Long costPrice;

    /**
     * 供应数量
     */
    @TableField("quantity")
    private Integer quantity;

    /**
     * 总价
     */
    @TableField("total_amount")
    private Long totalAmount;

    /**
     * 1 移动2 电信3 联通\n            
     */
    @TableField("service_provider")
    private Integer serviceProvider;

    /**
     * 1.全国 2.省 3.城市
     */
    @TableField("region_type")
    private Integer regionType;

    /**
     * 省编码
     */
    @TableField("province_code")
    private String provinceCode;

    /**
     * 城市编码
     */
    @TableField("city_code")
    private String cityCode;

    /**
     * 1.充值卡 2.油卡
     */
    @TableField("type")
    private Integer type;

    @TableField("create_date")
    private Date createDate;

    @TableField("modifi_date")
    private Date modifiDate;

    @TableField("creator")
    private String creator;

    @TableField("modifier")
    private String modifier;

    /**
     * 0.供货失败 1.供货成功     
     */
    @TableField("status")
    private Integer status;

    /**
     * -1 删除 1 有效
     */
    @TableField("is_delete")
    private Integer isDelete;


}
